package com.strange.mdl.module.mdl.controller.admin.dailydharma.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import com.alibaba.excel.annotation.*;
import com.strange.mdl.framework.excel.core.annotations.DictFormat;
import com.strange.mdl.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 今日弘法用户操作 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DailydharmaUsersRespVO {

    @Schema(description = "关联 mdl_dailydharma.id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20644")
    @ExcelProperty("关联 mdl_dailydharma.id")
    private Long dailydharmaId;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11666")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "是否点赞: 0-否, 1-是", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @ExcelProperty(value = "是否点赞: 0-否, 1-是", converter = DictConvert.class)
    @DictFormat("active") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer isLike;

    @Schema(description = "是否收藏: 0-否, 1-是", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @ExcelProperty(value = "是否收藏: 0-否, 1-是", converter = DictConvert.class)
    @DictFormat("active") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer isCollect;

    @Schema(description = "是否分享: 0-否, 1-是", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @ExcelProperty(value = "是否分享: 0-否, 1-是", converter = DictConvert.class)
    @DictFormat("active") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer isShare;

    @Schema(description = "是否留言: 0-否, 1-是", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @ExcelProperty(value = "是否留言: 0-否, 1-是", converter = DictConvert.class)
    @DictFormat("active") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer isMessage;

    @Schema(description = "评论次数统计")
    @ExcelProperty("评论次数统计")
    private Integer messages;

}